package domain.server;

import game.GameData;

import java.util.Iterator;

import domain.league.League;
import domain.tournament.Tournament;


/**
 * The IGameListProtocol interface concerns general system functionality, such
 * as returning iterators for the server's current games, tournaments and
 * leagues.
 */
public interface IGameListProtocol {

	public Iterator<GameData> getGames();

	public Iterator<Tournament> getTournaments(int gameId);

	public Iterator<League> getLeagues(int gameId);

}
